<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <!--<link rel="stylesheet" href="//at.alicdn.com/t/font_476929_d4jp8ci132w.css">-->
    <title>CBI</title>
  </head>
  <body>
    <script src=<%= htmlWebpackPlugin.options.path %>/js/avatar.js></script>
    <script>
      // /* 页面访问数据统计     ****************************************    start*/
      // /* 声明Avatar为数组如果未加载： */
      // // window.onload = function () {
      // var scriptTag = document.createElement('script');
      // scriptTag.type = 'text/javascript';
      // scriptTag.async = true;
      // scriptTag.src = 'static/js/avatar.js';
      // var head = document.getElementsByTagName('head')[0] || document.documentElement;
      // head.insertBefore(scriptTag, head.firstChild);su
      var STARTTIME = new Date().getTime();
      var avatar = window.Avatar = window.Avatar || [];
      avatar.push({
        appKey: 'Q5RH5YIV8792', // appkey
        pageId: 'index',        // 页面标识
        startTime: STARTTIME, // STARTTIME在页面顶部设定，用于采集loadtime
        channel: 'xxx',     // 设置渠道
        versionName: '1.0.1', // 设置版本
        versionCode: '01',  // 设置版本号
        init: function () {
          console.log('初始化完成')
        }
      });
      // }

    </script>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>

</html>
